Fixed point implementation of Kalman filtering for AC drives: a case study using TMS320F24x DSP
نویسندگان
چکیده
The real-time digital implementation of the Kalman filter requires a very fast signal processor specialised and optimised to perform complex mathematical calculations and manipulate a large amount of data. In fact, the algorithm is computationally intensive, and all of the steps involved require vector and/or matrix operation. In this paper the analysis of an actual fixed point implementation of the Kalman filter is discussed based on a last generation μC DSP (TMS320F240). The considered case study refers to rotor speed and position estimation in AC drives when using low resolution position transducers. It is shown that the adopted processor is suitable for an efficient and relatively simple implementation of the filter allowing to increase the resolution in speed calculation with respect to the classical differentiation solution. Introduction As known, the Kalman filter is an optimal recursive algorithm which provides the minimum variance state estimation for a time-varying linear system. It is able to tolerate system modelling and measurement errors, which are considered as noise processes in the state estimation. It processes all available measurements regardless of their precision, to provide a quick and accurate estimate of the variables of interest, also achieving a fast convergence. Its extension to non-linear systems, the Extended Kalman Filter (EKF), does not assure the minimum variance estimate and no convergence proof can be given. Nevertheless, the approach behaves well in most situations, as demonstrated by numerous applications (e.g. [1][2]). For a straightforward application of this algorithm, the non-linear discrete-time state equations of the system are written in the following form: ( ) ( ) k k k k k k k k , , , , v u x h y w u x f x + = + = + k k 1 R vv í Q ww w T T = = = = ) E( ) cov( ) E( ) cov( (1) where xk is the system state vector, yk is the system output, uk is the system input, wk and vk are zeromean white Gaussian additive noises with covariance Q and R, respectively (independent from the system state xk). The vector wk takes into account the system disturbances and model inaccuracies, while v represents the measurement noise. A block diagram of the EKF for the system (1) is given in Fig. 1 together with the list of the steps of a recursive implementation [3]. The filter provides a first estimate of x ( x ~ , prediction) based on the model equations supposing that the model noise is zero. Then the measurements and noise models are used to generate the sub-optimal estimate x̂ . P ~ and P̂ are, respectively, the prediction and the estimation error covariance matrices. In the following sections a brief review of the basic applications of the EKF to the estimation of the state variables of electrical drives is reported. I) ) , ~ ( ~ ) , ˆ ( ~ u x h y u x f = x = x x x x f F ˆ ) ( = ∂ ∂ = x x x x h H ˆ ) ( = ∂ ∂ = II) Q F P F P + = T ˆ ~ III) [ ] 1 T T ~ ~ − + = R H P H H P K IV) ) ~ ( ~ ˆ y y K x = x − + V) P KH P P ~ ~ ˆ − = y x̂ u
منابع مشابه
Fixed-point FPGA Implementation of a Kalman Filter for Range and Velocity Estimation of Moving Targets
Tracking filters are extensively used within object tracking systems in order to provide consecutive smooth estimations of position and velocity of the object with minimum error. Namely, Kalman filter and its numerous variants are widely known as simple yet effective linear tracking filters in many diverse applications. In this paper, an effective method is proposed for designing and implementa...
متن کاملDSP Based Control Hybrid Electric Vehicle
Development of power electronics and real time control technology for Hybrid Electric Vehicle (HEV) is presented. These include AC drives with real time torque control, compact and rugged induction motors, auxiliary electric circuits etc. In this paper developed a set of DSP based circuits for AC Induction Motor Drives for EVs. It provides torque control for propulsion and power control for gen...
متن کاملOn Line Electric Power Systems State Estimation Using Kalman Filtering (RESEARCH NOTE)
In this paper principles of extended Kalman filtering theory is developed and applied to simulated on-line electric power systems state estimation in order to trace the operating condition changes through the redundant and noisy measurements. Test results on IEEE 14 - bus test system are included. Three case systems are tried; through the comparing of their results, it is concluded that the pro...
متن کاملOn-Line Nonlinear Dynamic Data Reconciliation Using Extended Kalman Filtering: Application to a Distillation Column and a CSTR
Extended Kalman Filtering (EKF) is a nonlinear dynamic data reconciliation (NDDR) method. One of its main advantages is its suitability for on-line applications. This paper presents an on-line NDDR method using EKF. It is implemented for two case studies, temperature measurements of a distillation column and concentration measurements of a CSTR. In each time step, random numbers with zero m...
متن کاملImplementation of Low-Cost Architecture for Control an Active Front End Rectifier
In AC-DC power conversion, active front end rectifiers offer several advantages over diode rectifiers such as bidirectional power flow capability, sinusoidal input currents and controllable power factor. A digital finite control set model predictive controller based on fixed-point computations of an active front end rectifier with unity displacement of input voltage and current to improve dynam...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000